Menu

Using VcXsrv Windows X Server Log in to Edit

Installations
1. Download the installer from Sourceforge
2. Run the installer
3. After the installation is complete, the new entry "VcXsrv" appears in the start menu with the entries

German Informations at TU-Tuebingen , And more German Help Info,Tips und Schalter

Start VcXsrv short in the commandline via batch or prompt
vcxsrv.exe -multiwindow
more Enhancements :
vcxsrv.exe -multiwindow -clipboard -wgl

and if you kill the X in commandline :
taskkill /f /im vcxsrv.exe
and in a Batch :
start /WAIT /B taskkill /f /im vcxsrv.exe
more about in Winnt commandline:
C:\taskkill /?_

Create with XLaunch a config-file config.xlaunch :

  1. call xlaunch
    ![xlaunch](https://sourceforge.net/p/vcxsrv/wiki/Using%20VcXsrv%20Windows%20X%20Server/attachment/xlaunch.jpg/thumb)

  2. fellow the instructions

  3. save the file in the same folder of VcXsrv Windows X Server , as it is prescribed.

you can make different config.xlaunch files, e.g. config1.xlaunch config2.xlaunch configblubb.xlaunch configbla.xlaunch

and starting in silencemode in commandline with :
Xlaunch.exe -run config.xlaunch

you can also make a Shortcut for the Desktop:
1. Right Klick with the Mouse at the Space where you want create the Shortcut (e.g. Desktop)
2. New => Shortcut
3. Type in the Textbox ["C:\the\path\to\VcXsrv\xlaunch.exe" -run config.xlaunch__]
4. => [Continue]
5. setting up the name of the Shortcut (as Example) [X-Server______]
6. Finish

or let autostart in Putty or Kitty :
1. ......
2. ......
3. ......

using for Windows 10 Linux SubSystem
1. .........
2. .........
3. .........
4. .........

Update SmarTTY (at your own risk !! ) :
A multi-tabbed SSH client with SCP support.

if you lost the X-Server Arguments in Smatty is the
Standard : -multiwindow
and extended with Clipboard and GL : -multiwindow -clipboard -wgl

  1. download the latest Version for your Ordering System: Files of vcxsrv
    ( as example vcxsrv.%version%.installer.exe )
    (as hint, a x86_64 have the extension of 64Bit,
    x86 (vcxsrv.1.20.8.1.installer.exe) works anywhere (USB-Sticks, SD-Card's, 32 Bit embedded Systems)
    in i586 up to 64Bit Systems,
    ** x86_64 works only in x64 Bit Systems! **
    and don't forget, the VcXsrv works since 1.14.3.0 no more for XP ! )
  2. Extract the installer with 7zip or Bandizip
  3. remove "$PLUGINSDIR"
  4. overwrite all files in %programfiles%\smartty\vcxsrv\ or in portablesmartty\vcxsrv\

Switches

(Extract from the help that is written to a log file via the command prompt and vcxsrv.exe -h )

Vcxsrv [:<display>] [option]
:display-number
        Vcxsrv runs as the given display-number, which defaults to 0.
        To run multiple instances, use unique display-numbers.  

-help                         prints message with these options
-a #                          default pointer acceleration (factor)
-ac                           disable access control restrictions
-audit int                    set audit trail level
-auth                         file select authorization file
-br                           create root window with black background
+bs                           enable any backing store support
-bs                           disable any backing store support
-cc int                       default color visual class
-nocursor                     disable the cursor
-core                         generate core dump on fatal error
-displayfd fd                 file descriptor to write display number to when ready to connect
-dpi [auto|int]               screen resolution set to native or this dpi
-dpms                         disables VESA DPMS monitor control
-deferglyphs [none|all|16]    defer loading of [no|all|16-bit] glyphs
-f #                          bell base (0-100)
-fc string                    cursor font
-fn string                    default font name
-fp string                    default font path
+iglx                         Allow creating indirect GLX contexts (default)
-iglx                         Prohibit creating indirect GLX contexts
-I                            ignore all remaining arguments
-nolisten string              don't listen on protocol
-listen string                listen on protocol
-noreset                      don't reset after last client exists
-background [none]            create root window with no background
-reset                        reset after last client exists
-pn                           accept failure to listen on all ports
-nopn                         reject failure to listen on all ports
-r                            turns off auto-repeat
r                             turns on auto-repeat
-render [default|mono|gray|color] set render color alloc policy
-retro                        start with classic stipple
-seat string                  seat to run on
-t #                          default pointer threshold (pixels/t)
-terminate                    terminate at server reset
-to #                         connection time out
-tst                          disable testing extensions
-wm                           WhenMapped default backing-store
-wr                           create root window with white background
+xinerama                     Enable XINERAMA extension
-xinerama                     Disable XINERAMA extension
-dumbSched                    Disable smart scheduling, enable old behavior
-schedInterval int            Set scheduler interval in msec
+extension name               Enable extension
-extension name               Disable extension
-query host-name              contact named host for XDMCP
-broadcast                    broadcast for XDMCP
-multicast [addr [hops]]      IPv6 multicast for XDMCP
-indirect host-name           contact named host for indirect XDMCP
-port port-num                UDP port number to send messages to
-from local-address           specify the local address to connect from
-once                         Terminate server after one session
-class display-class          specify display class to send in manage
-cookie xdm-auth-bits         specify the magic cookie for XDMCP
-displayID display-id         manufacturer display ID for request
[+-]accessx [ timeout [ timeout_mask [ feedback [ options_mask] ] ] ]
                                                                                         enable/disable accessx key sequences
-ardelay                      set XKB autorepeat delay
-arinterval                   set XKB autorepeat interval


VcXsrv Device Dependent Usage:

-[no]clipboard
      Enable [disable] the clipboard integration. Default is enabled.

-[no]clipboardprimary
          [Do not] map the PRIMARY selection to the windows clipboard.
          The CLIPBOARD selection is always mapped if -clipboard is enabled.
          Default is mapped.
-clipupdates num_boxes
          Use a clipping region to constrain shadow update blits to
          the updated region when num_boxes, or more, are in the
          updated region.
-depth bits_per_pixel
          Specify an optional bitdepth to use in fullscreen mode
          with a DirectDraw engine.
-[no]emulate3buttons [timeout]
          Emulate 3 button mouse with an optional timeout in
          milliseconds.
-engine engine_type_id
          Override the server's automatically selected engine type:
          1 - Shadow GDI
          4 - Shadow DirectDraw4 Non-Locking
-fullscreen
          Run the server in fullscreen mode.
-[no]hostintitle
          In multiwindow mode, add remote host names to window titles.
-ignoreinput
          Ignore keyboard and mouse input.
-[no]keyhook
          Grab special Windows keypresses like Alt-Tab or the Menu key.
-lesspointer
          Hide the windows mouse pointer when it is over any
          VcXsrv window. This prevents ghost cursors appearing when
          the Windows cursor is drawn on top of the X cursor
-logfile filename
          Write log messages to <filename>.
-logverbose verbosity
          Set the verbosity of log messages. [NOTE: Only a few messages
          respect the settings yet]
          0 - only print fatal error.
          1 - print additional configuration information.
          2 - print additional runtime information [default].
          3 - print debugging and tracing information.
-[no]multimonitors or -[no]multiplemonitors
          Use the entire virtual screen if multiple
          monitors are present.
-multiwindow
          Run the server in multi-window mode.
-nodecoration
          Do not draw a window border, title bar, etc. Windowed
          mode only.
-nounicodeclipboard
          Do not use Unicode clipboard even if on a NT-based platform.
-[no]primary
          When clipboard integration is enabled, map the X11 PRIMARY selection
          to the Windows clipboard. Default is enabled.
-refresh rate_in_Hz
          Specify an optional refresh rate to use in fullscreen mode
          with a DirectDraw engine.
-resize=none|scrollbars|randr 
          In windowed mode, [don't] allow resizing of the window. 'scrollbars'
          mode gives the window scrollbars as needed, 'randr' mode uses the RANR
          extension to resize the X screen. 'randr' is the default.
-rootless
          Run the server in rootless mode.
-screen scr_num [width height [x y] | [[WxH[+X+Y]][@m]] ]
          Enable screen scr_num and optionally specify a width and
          height and initial position for that screen. Additionally
          a monitor number can be specified to start the server on,
          at which point, all coordinates become relative to that
          monitor. Examples:
                    -screen 0 800x600+100+100@2 ; 2nd monitor offset 100,100 size 800x600
                    -screen 0 1024x768@3 ; 3rd monitor size 1024x768
                    -screen 0 @1 ; on 1st monitor using its full resolution (the default)
                    -silent-dup-error
          If another instance of VcXsrv with the same display number is running
          exit silently and don't display any error message.
-swcursor
          Disable the usage of the Windows cursor and use the X11 software
          cursor instead.
-[no]trayicon
          Do not create a tray icon. Default is to create one icon per screen. 
          You can globally disable tray icons with
-notrayicon, then enable it for specific screens with
-trayicon for those screens.
-[no]unixkill
          Ctrl+Alt+Backspace exits the X Server.
-[no]wgl
          Enable the GLX extension to use the native Windows WGL interface for hardware-accelerated OpenGL
-swrastwgl
          Enable the GLX extension to use the native Windows WGL interface 
          based on the swrast interface for accelerated OpenGL
-[no]winkill
          Alt+F4 exits the X Server.
-xkblayout XKBLayout
          Equivalent to XKBLayout in XF86Config files.
          For example: 
                   -xkblayout de
-xkbmodel XKBModel
          Equivalent to XKBModel in XF86Config files.
-xkboptions XKBOptions
          Equivalent to XKBOptions in XF86Config files.
-xkbrules XKBRules
          Equivalent to XKBRules in XF86Config files.
-xkbvariant XKBVariant
          Equivalent to XKBVariant in XF86Config files.
          For example: 
                    -xkbvariant nodeadkeys

Source : Uni Tübingen Tipps

MarkDown Syntax


Discussion

  • blackcrack

    blackcrack - 2021-05-25

    @sf-mensch Simon, was meinst Du warum ich mit accii gezeichnet hab und nicht als code
    eingefasst habe ... mach das bitte wieder rückgängig..
    Danke

    edit: habs selber schon gemacht.. lass es bitte so , danke

     

    Last edit: blackcrack 2021-05-25
    • Simon Sobisch

      Simon Sobisch - 2021-05-25

      Simon, was meinst Du warum ich mit accii gezeichnet hab und nicht als code
      eingefasst habe ...

      Sehr gute Frage, ich ging von Zeitgründen oder ähnlichem aus. Bitte beantworte deine Frage hier selbst, dann ist das für die Zukunft klar und es kommt keiner auf die Idee das anzupassen...
      Ich verstehe es nicht, insbesondere weil die MarkDownSyntax ja noch extra hinterlegt ist.

      PS: Durch den revert sind nicht nur die Markdownänderungen (potentiell lesbarer, Unterpunkte direkt verlinkbar) sondern auch die Textänderungen (Denglisch) und der Fix der URLs zurück gerollt.
      Falls sich jemand für die Papierkorb-Version interessiert: https://sourceforge.net/p/vcxsrv/wiki/Using%20VcXsrv%20Windows%20X%20Server/?version=32

      PPS: Projekt-Administratoren können unter Admin auch die Rechte anpassen und z. B. eine Gruppe "Wikis" mit Benutzern anlegen die editieren können, damit niemand anderes auf die Idee kommt und statt dessen beim nächsten Mal in die Wiki-Diskussion postet.

       
      👍
      1
      • blackcrack

        blackcrack - 2021-05-26

        @sf-mensch das war ne retorische Frage.. das denglisch hab ich ja nichts dagegen, aber wenn ich's in Markdown einfassen hätte wollen hätte ich das ja getan.. oder was glaubst Du, warum als mehr als 25 Jahre im Internet rumhängender alter Sack das sonst sooo geschrieben hätte.. Man muss ja nicht alles dick auf die Glozerchen mittels Markdown den Leuten um die Ohren hauen ... kann ja auch lesbar bleiben.. und 'n bisschen oldschool, bbs like sein..
        Im übrigen hab ich das ganze Wiki hier aufgebaut, sonst gäb's nur eine Seite mit Bilderchen
        und die Anderen könnten schauen wo sie die infos her bekommen..

         
        👍
        1

        Last edit: blackcrack 2021-05-26

Log in to post a comment.